<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <title>LCOV - iris.info - MemCtrl/response_handler.cc</title>
  <link rel="stylesheet" type="text/css" href="../gcov.css">
</head>

<body>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="title">LTP GCOV extension - code coverage report</td></tr>
    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>

    <tr>
      <td width="100%">
        <table cellpadding=1 border=0 width="100%">
        <tr>
          <td class="headerItem" width="20%">Current&nbsp;view:</td>
          <td class="headerValue" width="80%" colspan=4><a href="../index.html">directory</a> - <a href="index.html">MemCtrl</a> - response_handler.cc</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Test:</td>
          <td class="headerValue" width="80%" colspan=4>iris.info</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Date:</td>
          <td class="headerValue" width="20%">2010-05-24</td>
          <td width="20%"></td>
          <td class="headerItem" width="20%">Instrumented&nbsp;lines:</td>
          <td class="headerValue" width="20%">75</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Code&nbsp;covered:</td>
          <td class="headerValue" width="20%">81.3 %</td>
          <td width="20%"></td>
          <td class="headerItem" width="20%">Executed&nbsp;lines:</td>
          <td class="headerValue" width="20%">61</td>
        </tr>
        </table>
      </td>
    </tr>
    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>
  </table>

  <table cellpadding=0 cellspacing=0 border=0>
    <tr>
      <td><br></td>
    </tr>
    <tr>
      <td><pre class="source">
<span class="lineNum">       1 </span>                : /*
<span class="lineNum">       2 </span>                :  * =====================================================================================
<span class="lineNum">       3 </span>                :  *
<span class="lineNum">       4 </span>                :  *       Filename:  response_handler.cc
<span class="lineNum">       5 </span>                :  *
<span class="lineNum">       6 </span>                :  *    Description:  
<span class="lineNum">       7 </span>                :  *
<span class="lineNum">       8 </span>                :  *        Version:  1.0
<span class="lineNum">       9 </span>                :  *        Created:  03/04/2010 02:06:48 PM
<span class="lineNum">      10 </span>                :  *       Revision:  none
<span class="lineNum">      11 </span>                :  *       Compiler:  gcc
<span class="lineNum">      12 </span>                :  *
<span class="lineNum">      13 </span>                :  *         Author:  SYED MINHAJ HASSAN
<span class="lineNum">      14 </span>                :  *        Company:  Georgia Institute of Technology
<span class="lineNum">      15 </span>                :  *
<span class="lineNum">      16 </span>                :  * =====================================================================================
<span class="lineNum">      17 </span>                :  */
<span class="lineNum">      18 </span>                : 
<span class="lineNum">      19 </span>                : #include &lt;math.h&gt;
<span class="lineNum">      20 </span>                : #include &quot;response_handler.h&quot;
<span class="lineNum">      21 </span>                : #include &quot;request_handler.h&quot;
<span class="lineNum">      22 </span>                : #include &quot;MC.h&quot;
<span class="lineNum">      23 </span>                : //#include &quot;cmd_issuer.h&quot;
<span class="lineNum">      24 </span>                : using namespace std;
<span class="lineNum">      25 </span>                : 
<span class="lineNum">      26 </span>                : /*
<span class="lineNum">      27 </span>                :  *--------------------------------------------------------------------------------------
<span class="lineNum">      28 </span>                :  *       Class:  ResponseHandler
<span class="lineNum">      29 </span>                :  *      Method:  ResponseHandler
<span class="lineNum">      30 </span>                :  * Description:  constructor
<span class="lineNum">      31 </span>                :  *--------------------------------------------------------------------------------------
<span class="lineNum">      32 </span>                :  */
<span class="lineNum">      33 </span>                : 
<span class="lineNum">      34 </span><span class="lineCov">              8 : ResponseHandler::ResponseHandler()</span>
<span class="lineNum">      35 </span>                : {
<span class="lineNum">      36 </span><span class="lineCov">              8 :     bufferFull = false;</span>
<span class="lineNum">      37 </span><span class="lineCov">              8 :     stoppedQueue = false;       </span>
<span class="lineNum">      38 </span><span class="lineCov">              8 :     responseBuffer.clear();</span>
<span class="lineNum">      39 </span><span class="lineCov">           4104 :     for (unsigned int i=0; i&lt;RESPONSE_BUFFER_SIZE; i++)</span>
<span class="lineNum">      40 </span>                :     {
<span class="lineNum">      41 </span><span class="lineCov">           4096 :         serviced[i] = false;</span>
<span class="lineNum">      42 </span>                :     }
<span class="lineNum">      43 </span><span class="lineNoCov">              0 : }</span>
<span class="lineNum">      44 </span>                : 
<span class="lineNum">      45 </span>                : /*
<span class="lineNum">      46 </span>                :  *--------------------------------------------------------------------------------------
<span class="lineNum">      47 </span>                :  *       Class:  ResponseHandler
<span class="lineNum">      48 </span>                :  *      Method:  ~ResponseHandler
<span class="lineNum">      49 </span>                :  * Description:  destructor
<span class="lineNum">      50 </span>                :  *--------------------------------------------------------------------------------------
<span class="lineNum">      51 </span>                :  */
<span class="lineNum">      52 </span><span class="lineNoCov">              0 : ResponseHandler::~ResponseHandler()</span>
<span class="lineNum">      53 </span>                : {
<span class="lineNum">      54 </span>                : 
<span class="lineNum">      55 </span><span class="lineNoCov">              0 : }</span>
<span class="lineNum">      56 </span>                : 
<span class="lineNum">      57 </span>                : /*
<span class="lineNum">      58 </span>                :  *--------------------------------------------------------------------------------------
<span class="lineNum">      59 </span>                :  *       Class:  ResponseHandler
<span class="lineNum">      60 </span>                :  *      Method:  process_event
<span class="lineNum">      61 </span>                :  * Description:  bool ResponseHandler::IsBufferFull()
<span class="lineNum">      62 </span>                :  *--------------------------------------------------------------------------------------
<span class="lineNum">      63 </span>                :  */
<span class="lineNum">      64 </span><span class="lineCov">         446248 : void ResponseHandler::process_event(IrisEvent* e)</span>
<span class="lineNum">      65 </span>                : {
<span class="lineNum">      66 </span><span class="lineCov">         446248 :     Request *req = new Request();       </span>
<span class="lineNum">      67 </span><span class="lineCov">         446248 :     DRAMCmdState cmd;   </span>
<span class="lineNum">      68 </span>                :     int index;  
<span class="lineNum">      69 </span><span class="lineCov">         446248 :     vector&lt;Request&gt;::iterator bufferIndex = responseBuffer.begin();       </span>
<span class="lineNum">      70 </span><span class="lineCov">         446248 :     switch (e-&gt;type)</span>
<span class="lineNum">      71 </span>                :     {   
<span class="lineNum">      72 </span>                :         case PUSH_BUFFER:
<span class="lineNum">      73 </span><span class="lineCov">         148805 :              *req = *((Request*)e-&gt;event_data.at(0));</span>
<span class="lineNum">      74 </span><span class="lineCov">         148805 :              responseBuffer.push_back(*req);</span>
<span class="lineNum">      75 </span>                : #ifdef DEEP_DEBUG
<span class="lineNum">      76 </span>                :             cout &lt;&lt; dec &lt;&lt; Simulator::Now() &lt;&lt; &quot;: &quot; &lt;&lt; hex &lt;&lt; req-&gt;address &lt;&lt; &quot;: I am in ResponseHandler PUSH BUFFER with &quot; &lt;&lt; dec &lt;&lt; req-&gt;cmdType &lt;&lt; &quot; and tag &quot; &lt;&lt; req-&gt;tag &lt;&lt; endl;
<span class="lineNum">      77 </span>                : #endif
<span class="lineNum">      78 </span>                : /*          if (IsBufferFull())         // check and set buffer full signal
<span class="lineNum">      79 </span>                :             {
<span class="lineNum">      80 </span>                :                 IrisEvent *event2 = new IrisEvent();    
<span class="lineNum">      81 </span>                :                 event2-&gt;src = (Component*)this;
<span class="lineNum">      82 </span>                :                 event2-&gt;dst = (Component*)reqPtr;    // stop cmd queue from receiving any more       
<span class="lineNum">      83 </span>                :                 event2-&gt;type = STOP_CMD_QUEUE;
<span class="lineNum">      84 </span>                :                 stoppedQueue = true;    
<span class="lineNum">      85 </span>                :                 Simulator::Schedule(Simulator::Now()+1, &amp;RequestHandler::process_event, (RequestHandler*)event2-&gt;dst, event2);
<span class="lineNum">      86 </span>                : #ifdef DEEP_DEBUG
<span class="lineNum">      87 </span>                :                 cout &lt;&lt; dec &lt;&lt; Simulator::Now() &lt;&lt; &quot;: &quot; &lt;&lt; hex &lt;&lt; req-&gt;address &lt;&lt; &quot;: Response handler have sent a stop cmd queue signal &quot; &lt;&lt; dec &lt;&lt; req-&gt;cmdType &lt;&lt; &quot; and tag &quot; &lt;&lt; req-&gt;tag &lt;&lt; endl;
<span class="lineNum">      88 </span>                : #endif
<span class="lineNum">      89 </span>                :             }
<span class="lineNum">      90 </span><span class="lineCov">         148805 : */          delete (Request*)e-&gt;event_data.at(0);    </span>
<span class="lineNum">      91 </span>                :         break;
<span class="lineNum">      92 </span>                :         case REPLY:
<span class="lineNum">      93 </span><span class="lineCov">         148790 :              cmd = *((DRAMCmdState*)e-&gt;event_data.at(0));</span>
<span class="lineNum">      94 </span><span class="lineCov">         148790 :              index = SearchBuffer(&amp;cmd);            // Search the req, returns the index</span>
<span class="lineNum">      95 </span><span class="lineCov">         297580 :                 responseBuffer[index].busInsertionTime = cmd.req.busInsertionTime;      </span>
<span class="lineNum">      96 </span><span class="lineCov">         297580 :                 *req = responseBuffer[index];</span>
<span class="lineNum">      97 </span><span class="lineCov">         297580 :                 responseBuffer[index].serviced = true;</span>
<span class="lineNum">      98 </span><span class="lineCov">         297580 :                 responseBuffer[index].retireTime = Simulator::Now()+1;</span>
<span class="lineNum">      99 </span><span class="lineCov">         297580 :                 delete (DRAMCmdState*)e-&gt;event_data.at(0);</span>
<span class="lineNum">     100 </span>                : #ifdef DEEP_DEBUG
<span class="lineNum">     101 </span>                :               cout &lt;&lt; dec &lt;&lt; Simulator::Now() &lt;&lt; &quot;: &quot; &lt;&lt; hex &lt;&lt; cmd.req.address &lt;&lt; &quot;: I am in Response Handler REPLY with tag &quot; &lt;&lt; dec &lt;&lt; cmd.req.tag &lt;&lt; endl;
<span class="lineNum">     102 </span>                : #endif  
<span class="lineNum">     103 </span>                :               /* 
<span class="lineNum">     104 </span>                :             if( !out_pull_scheduled )
<span class="lineNum">     105 </span>                :             {
<span class="lineNum">     106 </span>                :                 out_pull_scheduled = true;
<span class="lineNum">     107 </span>                :                 IrisEvent* ev = new IrisEvent();
<span class="lineNum">     108 </span>                :                 ev-&gt;type = OUT_PULL_EVENT;
<span class="lineNum">     109 </span>                :                 Simulator::Schedule(Simulator::Now()+1, &amp;ResponseHandler::process_event, this, ev); 
<span class="lineNum">     110 </span>                :             }
<span class="lineNum">     111 </span>                :         break;
<span class="lineNum">     112 </span>                :         case OUT_PULL_EVENT:
<span class="lineNum">     113 </span>                :             out_pull_scheduled = false;
<span class="lineNum">     114 </span>                :                * */
<span class="lineNum">     115 </span><span class="lineCov">         297580 :              if (((NI*)((MC*)mc)-&gt;parent)-&gt;niQueue.empty() ) //&amp;&amp; !((NI*)((MC*)mc)-&gt;parent)-&gt;sending)</span>
<span class="lineNum">     116 </span>                :              {
<span class="lineNum">     117 </span><span class="lineCov">         108448 :                 index = SendServiced();</span>
<span class="lineNum">     118 </span><span class="lineCov">         216896 :                  *req = responseBuffer[index];</span>
<span class="lineNum">     119 </span><span class="lineCov">         108448 :                 ((NI*)((MC*)mc)-&gt;parent)-&gt;niQueue.push_back(*req);        // put the request into NI queue if its free</span>
<span class="lineNum">     120 </span><span class="lineCov">         108448 :                 responseBuffer.erase(index+bufferIndex);                // delete the req from response buffer</span>
<span class="lineNum">     121 </span><span class="lineCov">         108448 :                 IrisEvent* ev = new IrisEvent();</span>
<span class="lineNum">     122 </span><span class="lineCov">         108448 :                 ev-&gt;type = OUT_PULL_EVENT;</span>
<span class="lineNum">     123 </span><span class="lineCov">         108448 :                 ev-&gt;dst = ((MC*)mc)-&gt;parent;</span>
<span class="lineNum">     124 </span><span class="lineCov">         108448 :                 Simulator::Schedule(Simulator::Now()+1, &amp;NI::process_event, (NI*)ev-&gt;dst, ev);   </span>
<span class="lineNum">     125 </span>                : #ifdef DEBUG        
<span class="lineNum">     126 </span>                :         cout &lt;&lt; dec &lt;&lt; Simulator::Now() &lt;&lt; &quot;: &quot; &lt;&lt; hex &lt;&lt; cmd.req.address &lt;&lt; &quot;: Total Time taken by request &quot; &lt;&lt; dec &lt;&lt; req-&gt;retireTime - req-&gt;arrivalTime &lt;&lt; endl;
<span class="lineNum">     127 </span>                : #endif   
<span class="lineNum">     128 </span><span class="lineCov">         108448 :                 ((MC*)mc)-&gt;stats-&gt;CollectStatsPerRequest(req);</span>
<span class="lineNum">     129 </span>                :             
<span class="lineNum">     130 </span>                : /*  
<span class="lineNum">     131 </span>                :                 index = SendServiced();
<span class="lineNum">     132 </span>                :                  if(index == -1)
<span class="lineNum">     133 </span>                :                     out_pull_scheduled = false;
<span class="lineNum">     134 </span>                :                  else
<span class="lineNum">     135 </span>                :                      out_pull_scheduled = true;
<span class="lineNum">     136 </span>                : 
<span class="lineNum">     137 </span>                :  */          }
<span class="lineNum">     138 </span>                : 
<span class="lineNum">     139 </span>                : /*            if( out_pull_scheduled)
<span class="lineNum">     140 </span>                :             {
<span class="lineNum">     141 </span>                :                 out_pull_scheduled = true;
<span class="lineNum">     142 </span>                :                 IrisEvent* ev = new IrisEvent();
<span class="lineNum">     143 </span>                :                 ev-&gt;type = OUT_PULL_EVENT;
<span class="lineNum">     144 </span>                :                 Simulator::Schedule(Simulator::Now()+1, &amp;ResponseHandler::process_event, this, ev); 
<span class="lineNum">     145 </span>                :             }
<span class="lineNum">     146 </span>                : */            else
<span class="lineNum">     147 </span>                :              {
<span class="lineNum">     148 </span><span class="lineCov">          80684 :                 responseBuffer[index].serviced = true;</span>
<span class="lineNum">     149 </span>                :              }
<span class="lineNum">     150 </span>                : 
<span class="lineNum">     151 </span>                :           
<span class="lineNum">     152 </span>                :              break;     
<span class="lineNum">     153 </span>                :         case SEND_TO_NI:     
<span class="lineNum">     154 </span><span class="lineCov">         148653 :                   index = SendServiced();       </span>
<span class="lineNum">     155 </span>                :     /*              if(index == -1)
<span class="lineNum">     156 </span>                :                     out_pull_scheduled = false;
<span class="lineNum">     157 </span>                :                  else
<span class="lineNum">     158 </span>                :                      out_pull_scheduled = true;
<span class="lineNum">     159 </span>                : 
<span class="lineNum">     160 </span>                :             if( out_pull_scheduled)
<span class="lineNum">     161 </span>                :             {
<span class="lineNum">     162 </span>                :                 out_pull_scheduled = true;
<span class="lineNum">     163 </span>                :                 IrisEvent* ev = new IrisEvent();
<span class="lineNum">     164 </span>                :                 ev-&gt;type = OUT_PULL_EVENT;
<span class="lineNum">     165 </span>                :                 Simulator::Schedule(Simulator::Now()+1, &amp;ResponseHandler::process_event, this, ev); 
<span class="lineNum">     166 </span>                :             }
<span class="lineNum">     167 </span>                :              break;
<span class="lineNum">     168 </span>                :       */          
<span class="lineNum">     169 </span><span class="lineCov">         297306 :                 *req = responseBuffer[index];</span>
<span class="lineNum">     170 </span>                :                 
<span class="lineNum">     171 </span>                :      //           cout &lt;&lt; &quot;Don't know whats happening2&quot; &lt;&lt; endl; 
<span class="lineNum">     172 </span><span class="lineCov">         189856 :                 if(index != -1 &amp;&amp; ((NI*)((MC*)mc)-&gt;parent)-&gt;niQueue.empty() )</span>
<span class="lineNum">     173 </span>                :                 {
<span class="lineNum">     174 </span>                :      //           cout &lt;&lt; &quot;Don't know whats happening3&quot; &lt;&lt; endl; 
<span class="lineNum">     175 </span><span class="lineCov">          40208 :                     ((NI*)((MC*)mc)-&gt;parent)-&gt;niQueue.push_back(*req);    // put the request into NI queue if its free</span>
<span class="lineNum">     176 </span><span class="lineCov">          80416 :                      assert(responseBuffer[index].serviced == true);                    </span>
<span class="lineNum">     177 </span><span class="lineCov">          40208 :                     responseBuffer.erase(index+bufferIndex);            // delete the req from response buffer</span>
<span class="lineNum">     178 </span><span class="lineCov">          40208 :                     IrisEvent* ev = new IrisEvent();</span>
<span class="lineNum">     179 </span><span class="lineCov">          40208 :                     ev-&gt;type = OUT_PULL_EVENT;</span>
<span class="lineNum">     180 </span><span class="lineCov">          40208 :                     ev-&gt;dst = ((MC*)mc)-&gt;parent;</span>
<span class="lineNum">     181 </span><span class="lineCov">          40208 :                     Simulator::Schedule(Simulator::Now()+1, &amp;NI::process_event, (NI*)ev-&gt;dst, ev);</span>
<span class="lineNum">     182 </span><span class="lineCov">          40208 :                     serviced[index] = false;   </span>
<span class="lineNum">     183 </span>                :  
<span class="lineNum">     184 </span><span class="lineCov">          40208 :                     ((MC*)mc)-&gt;stats-&gt;CollectStatsPerRequest(req);</span>
<span class="lineNum">     185 </span>                :                 }
<span class="lineNum">     186 </span>                :                 else
<span class="lineNum">     187 </span>                :                 {   
<span class="lineNum">     188 </span>                :        //         cout &lt;&lt; index &lt;&lt; &quot;  hhh &quot; &lt;&lt; ((NI*)((MC*)mc)-&gt;parent)-&gt;niQueue.empty() &lt;&lt; endl; 
<span class="lineNum">     189 </span>                :                 }
<span class="lineNum">     190 </span>                : 
<span class="lineNum">     191 </span>                :              break;
<span class="lineNum">     192 </span>                :               
<span class="lineNum">     193 </span>                :         default:
<span class="lineNum">     194 </span><span class="lineNoCov">              0 :                 cout &lt;&lt; dec &lt;&lt; Simulator::Now() &lt;&lt; &quot;: I should not come to default of process event in response handler\n&quot;;</span>
<span class="lineNum">     195 </span>                :     }           
<span class="lineNum">     196 </span><span class="lineCov">         446248 :     delete req; </span>
<span class="lineNum">     197 </span><span class="lineCov">         446248 :     delete e;</span>
<span class="lineNum">     198 </span><span class="lineCov">         446248 : }</span>
<span class="lineNum">     199 </span>                : 
<span class="lineNum">     200 </span><span class="lineCov">         257101 : unsigned int ResponseHandler::SendServiced()</span>
<span class="lineNum">     201 </span>                : {               
<span class="lineNum">     202 </span><span class="lineCov">        1341934 :     for (unsigned int i=0; i&lt;responseBuffer.size(); i++)</span>
<span class="lineNum">     203 </span>                :     {
<span class="lineNum">     204 </span><span class="lineCov">        1127034 :         if (responseBuffer[i].serviced)</span>
<span class="lineNum">     205 </span>                :         {       
<span class="lineNum">     206 </span><span class="lineCov">         149651 :             return i;</span>
<span class="lineNum">     207 </span>                :         }
<span class="lineNum">     208 </span>                :     }       
<span class="lineNum">     209 </span><span class="lineCov">         107450 :     return -1;</span>
<span class="lineNum">     210 </span>                : }
<span class="lineNum">     211 </span>                : ///////// Search the response buffer. Find the request, erase it from the buffer and return it ////////
<span class="lineNum">     212 </span>                : 
<span class="lineNum">     213 </span><span class="lineCov">         148790 : unsigned int ResponseHandler::SearchBuffer(DRAMCmdState *cmd)</span>
<span class="lineNum">     214 </span>                : {               
<span class="lineNum">     215 </span><span class="lineCov">        3336028 :     for (unsigned int i=0; i&lt;responseBuffer.size(); i++)</span>
<span class="lineNum">     216 </span>                :     {
<span class="lineNum">     217 </span><span class="lineCov">        3336028 :         if (responseBuffer[i].tag == cmd-&gt;req.tag)</span>
<span class="lineNum">     218 </span>                :         {       
<span class="lineNum">     219 </span><span class="lineCov">         148790 :             return i;</span>
<span class="lineNum">     220 </span>                :         }
<span class="lineNum">     221 </span>                :     }       
<span class="lineNum">     222 </span><span class="lineNoCov">              0 :     cout &lt;&lt; &quot;Error: scheduled cmd could not be found in Response Buffer\n&quot;;</span>
<span class="lineNum">     223 </span><span class="lineNoCov">              0 :     return -1;  </span>
<span class="lineNum">     224 </span>                : }
<span class="lineNum">     225 </span>                : 
<span class="lineNum">     226 </span><span class="lineCov">        3619621 : bool ResponseHandler::IsBufferFull()</span>
<span class="lineNum">     227 </span>                : {
<span class="lineNum">     228 </span><span class="lineCov">        7239242 :     if ( responseBuffer.size() &gt; RESPONSE_BUFFER_SIZE-3 )</span>
<span class="lineNum">     229 </span>                :     {
<span class="lineNum">     230 </span><span class="lineNoCov">              0 :         bufferFull = true;      </span>
<span class="lineNum">     231 </span><span class="lineNoCov">              0 :         return true;</span>
<span class="lineNum">     232 </span>                :     }
<span class="lineNum">     233 </span>                :     else
<span class="lineNum">     234 </span>                :     { 
<span class="lineNum">     235 </span><span class="lineCov">        3619621 :         bufferFull = false;</span>
<span class="lineNum">     236 </span><span class="lineCov">        3619621 :         return false;</span>
<span class="lineNum">     237 </span>                :     }
<span class="lineNum">     238 </span>                : }
<span class="lineNum">     239 </span>                : 
<span class="lineNum">     240 </span><span class="lineNoCov">              0 : bool ResponseHandler::CanStart()</span>
<span class="lineNum">     241 </span>                : {
<span class="lineNum">     242 </span><span class="lineNoCov">              0 :     if ( responseBuffer.size() &lt;= 0.75*(RESPONSE_BUFFER_SIZE) )</span>
<span class="lineNum">     243 </span><span class="lineNoCov">              0 :         return true;</span>
<span class="lineNum">     244 </span>                :     else 
<span class="lineNum">     245 </span><span class="lineNoCov">              0 :         return false;</span>
<span class="lineNum">     246 </span>                : }
<span class="lineNum">     247 </span>                : 
<span class="lineNum">     248 </span><span class="lineNoCov">              0 : std::string ResponseHandler::toString()</span>
<span class="lineNum">     249 </span>                : {
<span class="lineNum">     250 </span>                : //      cout &lt;&lt; bufferId &lt;&lt;endl;
<span class="lineNum">     251 </span><span class="lineNoCov">              0 :         return &quot;ResponseHandler&quot;;</span>
<span class="lineNum">     252 </span><span class="lineCov">              2 : }</span>
</pre>
      </td>
    </tr>
  </table>
  <br>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
  <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>
  <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LTP GCOV extension version 1.6</a></td></tr>
  </table>
  <br>

</body>
</html>
